From: 肖盛文 Date: Fri, 22 May 2020 17:05:50 +0000 (+0800) Subject: d/watch: use @PACKAGE@ @ANY_VERSION@@ARCHIVE_EXT@ X-Git-Tag: archive/raspbian/1.1.9+ds1-4+rpi1^2^2~147 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=71b3e621c85d411d654093d423c3bfd175b7f13b;p=opencc.git d/watch: use @PACKAGE@ @ANY_VERSION@@ARCHIVE_EXT@ --- diff --git a/debian/watch b/debian/watch index d5f567f..6c689f3 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,4 @@ version=4 -opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%opencc-$1.tar.gz%" \ - https://github.com/byvoid/opencc/releases \ - (?:.*?/)?(?:ver\.)?(\d[\d.]*)\.tar\.gz debian uupdate +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ + https://github.com/byvoid/@PACKAGE@/releases \ + (?:.*?/)?(?:ver\.)?@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate